<!-- <template>
    <div class="practice">
    练习
    <button @click="flag=true">点击生成二维码</button>
    <vue-qr :logoSrc="imageUrl" :text="url" :size="200" v-if="flag"></vue-qr>
    <navBottom></navBottom>
    </div>
</template>

<script>
import vueQr from 'vue-qr'
export default {
    data(){
        return {
            imageUrl: "https://img01.yzcdn.cn/vant/logo.png",
            flag: false,
            url: window.location.href
        }
    },
    methods:{

    },
    components: {
        vueQr
    },
}
</script>

<style>

</style> -->
